Fixed visibility for permit filter on work orders. It is now only shown if permits configuration key is enabled.