А. Я не был уверен, если то было правильно. Спасибо за исправления!
Я не был уверен, было ли правильно.
Я был не уверен в правильности.
In daily speech u can say in many different ways. Some of them are not correct by rules of Russian, but native russians sometimes say with mistakes I showed and will show you phrases in Russian that satisfy all rules. Как-то так)