Update module.php

Fixed broken Updates query for menu <-> module assignments.