Make sure that finding no loaded modules still commits to the database