https://bugster.forgerock.org/jira/browse/OPENAM-4831 is fixed now.
Updating documentation and code to reflect the change.
Updating based on reviews.
Merge pull request #3 from aritratony/master

Fix for Issue #2

Apologies for the wait. Thanks so much!