Only an Islamic Court would have ignored that fact.
The supporters of the legislation say the law is to address a court ruling that citizens have no right to reasonably resist unlawful entry by police officers. IOW, irrespective of whatever case or reason for the ruling - as the ruling effects all cases.
If the reason for the legislation does not concern any particular case or situation, why should the legislation?
Are you saying the law *should* have some sections or provisions specifically for domestic disputes that isn’t covered in some other law?