A blocked gas tank vent could cause the same symptoms. The filter before the pump wouldn't be necessarily be empty because the vacuum in the tank would hold the pump diaphragm down and not allow it to pump the fuel through.
When the air temp changed or some tiny venting occurred in the tank side of the system the vacuum would have reduced allowing the diaphragm to slowly rise and push fuel. It would only take a few pumps of the fuel pump to recreate the vacuum and stall the engine again.