The Smoothwall Filter needs to log host names to correctly apply locations using host names.
If after you have configured locations using host names of workstations, those locations are not being applied correctly in filtering policies and locations that use IP addresses are working correctly, check to see if you have the Logging option Client hostnames selected to log, see our help topic, Configuring the web proxy.