Updates in 4.0.5

Update to address queries, reporting and LDAP security


Issues Resolved in 4.0.5