Removed two unused queries in security of supply module.