Indeed the livestock do come first but one has to remember that live plants helps the livestock as well, best of both worlds really.
@mbsqw1d is providing additional information which actually is accurate and it’s for the benefit of everyone reading this thread, a little extra knowledge to store in your head is always good
But would still suggest reducing the light time down from 12 hours to maybe 8 hours as this will help prevent you from having algae problems in future.
And also the addition of Seachem flourish root tabs into the substrate near your sword plants will be of benefit for those to bring them back and won’t affect your livestock at all.
No one is suggesting you to change your water or your routine just changing the light timing and adding of root tabs for the swords is all.