Fixed bug where simplepats was sometimes empty