WMS - prevent GetMap requests with empty layer