Restored filterLayer option removed by accident, and fixed #449