Move WMS filter code from model into controller