Fixed bug related to invalidObjectFortes

Signed-off-by: Herbert <herberthb12@gmail.com>