Defender breaks website by adding code for Apache 2.2 instead of Apache 2.4

Hello,

When I try to do extra security tweaks the website breaks with an internal server error 500 because WP Defender Pro adds code for Apache 2.2 instead of 2.4.

Seems like Prevent Information Disclosure or Prevent PHP execution broke it.

Hosting provider used the following example:

https://httpd.apache.org/docs/2.4/upgrading.html#access

Any way Defender could detect this and add the right code or an option to add the code for 2.4?