[BUGFIX] Ensure that getCurrentRecord method returns array as return value.