Towards Reliable Detection of Astrophysical Anomalies: Extensions to the Isolation Forest Method